
public class ParserNode {
	private String non_terminal;
	private int alternative;
	private int first;
	private int second;
	private int third;
	
	public ParserNode() {
		this.non_terminal = null;
		this.alternative = 0;
		this.first = 0;
		this.second = 0;
		this.third = 0;
	}
	
	public ParserNode(String non_term, int alt, int first, int second, int third) {
		this.non_terminal = non_term;
		this.alternative = alt;
		this.first = first;
		this.second = second;
		this.third = third;
	}
	
	public void setNonTerminal(String non_term) {
		this.non_terminal = non_term;
	}
	
	public void setAlternative(int alt) {
		this.alternative = alt;
	}
	
	public void setFirst(int first) {
		this.first = first;
	}
	
	public void setSecond(int sec) {
		this.second = sec;
	}
}
